﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="ApprovalWorkflowApp.Manuscript_Approval_Workflow.Workflow"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:msdad="clr-namespace:Microsoft.SharePoint.DesignTime.Activities.Design;assembly=Microsoft.SharePoint.DesignTime.Activities.Design"
 xmlns:p="http://schemas.microsoft.com/workflow/2012/07/xaml/activities"
 xmlns:p1="wf://workflow.windows.net/$Activities"
 xmlns:s="clr-namespace:System;assembly=mscorlib"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="DocReviewerLoginName" Type="InArgument(x:String)" />
    <x:Property Name="DocEditorLoginName" Type="InArgument(x:String)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>ApprovalWorkflowApp.Manuscript_Approval_Workflow.Workflow_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Text</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>Microsoft.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.DesignTime.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.DesignTime.Activities.Design</AssemblyReference>
      <AssemblyReference>PresentationFramework</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>ApprovalWorkflowApp</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence DisplayName="Root" sap2010:WorkflowViewState.IdRef="Sequence_1">
    <Sequence.Variables>
      <Variable x:TypeArguments="x:Int32" Name="DocAuthorId" />
      <Variable x:TypeArguments="x:Boolean" Name="DraftDocumentApproved" />
    </Sequence.Variables>
    <p:SetUserStatus Description="Workflow Stating" sap2010:WorkflowViewState.IdRef="SetUserStatus_8" />
    <Sequence sap2010:Annotation.AnnotationText="Int the workflow by collecting &amp; setting up variables." DisplayName="Init" sap2010:WorkflowViewState.IdRef="Sequence_2">
      <Sequence.Variables>
        <Variable x:TypeArguments="p:DynamicValue" Name="DraftDocProperties" />
      </Sequence.Variables>
      <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_1" Text="Workflow starting..." />
      <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_2" Message="Workflow started..." />
      <p:SetUserStatus Description="Obtaining Relevant Pepople References" sap2010:WorkflowViewState.IdRef="SetUserStatus_1" />
      <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_1" Message="Collecting references to document author, reviewer &amp; editor..." />
      <Sequence DisplayName="Get Doc Author" sap2010:WorkflowViewState.IdRef="Sequence_3">
        <p1:LookupSPListItem ItemGuid="{x:Null}" Properties="{x:Null}" sap2010:WorkflowViewState.IdRef="LookupSPListItem_1">
          <p1:LookupSPListItem.ItemId>
            <InArgument x:TypeArguments="x:Int32">
              <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                <p1:GetCurrentItemId />
              </p:ExpressionContainerValue>
            </InArgument>
          </p1:LookupSPListItem.ItemId>
          <p1:LookupSPListItem.ListId>
            <InArgument x:TypeArguments="s:Guid">
              <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                <p1:GetCurrentListId />
              </p:ExpressionContainerValue>
            </InArgument>
          </p1:LookupSPListItem.ListId>
          <p1:LookupSPListItem.Result>
            <OutArgument x:TypeArguments="p:DynamicValue">
              <mca:CSharpReference x:TypeArguments="p:DynamicValue">DraftDocProperties</mca:CSharpReference>
            </OutArgument>
          </p1:LookupSPListItem.Result>
        </p1:LookupSPListItem>
        <p:GetODataProperties DisplayName="GetDynamicValueProperties" sap2010:WorkflowViewState.IdRef="GetODataProperties_1">
          <p:GetODataProperties.Source>
            <InArgument x:TypeArguments="p:DynamicValue">
              <mca:CSharpValue x:TypeArguments="p:DynamicValue">DraftDocProperties</mca:CSharpValue>
            </InArgument>
          </p:GetODataProperties.Source>
          <scg:Dictionary x:TypeArguments="x:String, OutArgument">
            <OutArgument x:TypeArguments="x:Int32" x:Key="AuthorId">
              <mca:CSharpReference x:TypeArguments="x:Int32">DocAuthorId</mca:CSharpReference>
            </OutArgument>
          </scg:Dictionary>
        </p:GetODataProperties>
        <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_2">
          <InArgument x:TypeArguments="x:String">
            <mca:CSharpValue x:TypeArguments="x:String">"Doc AuthorId=" +DocAuthorId</mca:CSharpValue>
          </InArgument>
        </WriteLine>
      </Sequence>
      <Sequence DisplayName="Get Doc Reviewer &amp; Editor" sap2010:WorkflowViewState.IdRef="Sequence_4">
        <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_3">
          <InArgument x:TypeArguments="x:String">
            <mca:CSharpValue x:TypeArguments="x:String">"DocReviewerLoginName=" +DocReviewerLoginName</mca:CSharpValue>
          </InArgument>
        </WriteLine>
        <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_4">
          <InArgument x:TypeArguments="x:String">
            <mca:CSharpValue x:TypeArguments="x:String">"DocEditorLoginName=" +DocEditorLoginName</mca:CSharpValue>
          </InArgument>
        </WriteLine>
        <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_8" Message="Workflow init complete" />
      </Sequence>
    </Sequence>
    <Flowchart sap2010:Annotation.AnnotationText="Start the process of reviewing the document (author &gt; reviewer &gt; editor), repeating steps if necessary." DisplayName="Document Review Process" sap2010:WorkflowViewState.IdRef="Flowchart_1">
      <Flowchart.Variables>
        <Variable x:TypeArguments="x:Int32" Name="ReviewerTaskOutcome" />
        <Variable x:TypeArguments="x:Int32" Name="EditorTaskOutcome" />
      </Flowchart.Variables>
      <Flowchart.StartNode>
        <FlowStep x:Name="__ReferenceID5" sap2010:WorkflowViewState.IdRef="FlowStep_5">
          <Sequence sap2010:Annotation.AnnotationText="User-friendly updates" DisplayName="Update Status" sap2010:WorkflowViewState.IdRef="Sequence_10">
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_10" Text="Entering document review process" />
            <p:SetUserStatus Description="Document Review Process" sap2010:WorkflowViewState.IdRef="SetUserStatus_6" />
            <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_9" Message="Starting document review process..." />
          </Sequence>
          <FlowStep.Next>
            <FlowStep x:Name="__ReferenceID0" sap2010:WorkflowViewState.IdRef="FlowStep_3">
              <Sequence sap2010:Annotation.AnnotationText="Reviewer checks document. If the document is OK, approves the request for the doc to proceed. Ottherwise declines the request to proceed." DisplayName="Reviewer Review" sap2010:WorkflowViewState.IdRef="Sequence_5">
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_5" Text="Entering reviewer review" />
                <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_3" Message="Assigning reviewer task to review the draft document. Waiting for task decision..." />
                <p1:SingleTask DueDate="{x:Null}" TaskId="{x:Null}" TaskItemId="{x:Null}" AssignmentEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;A draft document has been submitted for the manuscript. Please review the document and either APPROVE (if the document is ok to proceed to the editor) or DECLINE (if the document should be send back to the author for edits.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" AssignmentEmailSubject="Task Assigned: Draft Document Review for Manuscript" Body="A draft document has been submitted for the manuscript. Please review the document and either APPROVE (if the document is ok to proceed to the editor) or DECLINE (if the document should be send back to the author for edits." CancelationEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;One of your tasks was canceled and deleted. You do not need to take any further action on that task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" CancelationEmailSubject="Task Canceled: Draft Document Review for Manuscript" CompletedStatus="Completed" ContentTypeId="0x0108003112C6E4A0A94ABC9AA8A2BAE7FB37D0" DefaultTaskOutcome="0" sap2010:WorkflowViewState.IdRef="SingleTask_1" OutcomeFieldName="ReviewerOutcomeColumn" OverdueEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have an &lt;/span&gt;&lt;span style='font-size:13.5pt;color:#ff3b3b;'&gt;overdue&lt;/span&gt;&lt;span style='font-size:13.5pt'&gt; task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" OverdueEmailSubject="Task Overdue: Draft Document Review for Manuscript" OverdueReminderRepeat="1" OverdueRepeatTimes="1" SendReminderEmail="False" Title="Draft Document Review for Manuscript" WaitForTaskCompletion="True">
                  <p1:SingleTask.AssignedTo>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">DocReviewerLoginName</mca:CSharpValue>
                    </InArgument>
                  </p1:SingleTask.AssignedTo>
                  <p1:SingleTask.Outcome>
                    <OutArgument x:TypeArguments="x:Int32">
                      <mca:CSharpReference x:TypeArguments="x:Int32">ReviewerTaskOutcome</mca:CSharpReference>
                    </OutArgument>
                  </p1:SingleTask.Outcome>
                  <p1:SingleTask.RelatedContentLinkListId>
                    <InArgument x:TypeArguments="s:Guid">
                      <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                        <p1:GetCurrentListId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:SingleTask.RelatedContentLinkListId>
                  <p1:SingleTask.RelatedContentLinkListItemId>
                    <InArgument x:TypeArguments="s:Guid">
                      <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                        <p1:GetCurrentItemGuid />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:SingleTask.RelatedContentLinkListItemId>
                  <p1:SingleTask.RelatedContentLinkListItemIntegerId>
                    <InArgument x:TypeArguments="x:Int32">
                      <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                        <p1:GetCurrentItemId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:SingleTask.RelatedContentLinkListItemIntegerId>
                </p1:SingleTask>
              </Sequence>
              <FlowStep.Next>
                <FlowDecision x:Name="__ReferenceID1" DisplayName="OK to Proceed?" sap2010:WorkflowViewState.IdRef="FlowDecision_1">
                  <FlowDecision.Condition>
                    <mca:CSharpValue x:TypeArguments="x:Boolean">ReviewerTaskOutcome==0</mca:CSharpValue>
                  </FlowDecision.Condition>
                  <FlowDecision.True>
                    <FlowStep x:Name="__ReferenceID2" sap2010:WorkflowViewState.IdRef="FlowStep_1">
                      <Sequence sap2010:Annotation.AnnotationText="Editor reviews document. If approved, it proceeds. If not approved, doc is rejected." DisplayName="Editor Review" sap2010:WorkflowViewState.IdRef="Sequence_6">
                        <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_6" Text="Entering editor review" />
                        <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_4" Message="Assigning editor task to review the draft document. Waiting for task decision..." />
                        <p1:SingleTask DueDate="{x:Null}" TaskId="{x:Null}" TaskItemId="{x:Null}" AssignmentEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have a new task. A draft document has been submitted for the manuscript. Please review the document and either APPROVE (if the document is ok to proceed to be published) or DECLINE (if the document should be rejected).&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" AssignmentEmailSubject="Task Assigned: Draft Document Review for Manuscript" Body="A draft document has been submitted for the manuscript. Please review the document and either APPROVE (if the document is ok to proceed to be published) or DECLINE (if the document should be rejected)." CancelationEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;One of your tasks was canceled and deleted. You do not need to take any further action on that task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" CancelationEmailSubject="Task Canceled: Draft Document Review for Manuscript" CompletedStatus="Completed" ContentTypeId="0x010800AC96826B9F88469F9B240BAC41049FC8" DefaultTaskOutcome="0" sap2010:WorkflowViewState.IdRef="SingleTask_2" OutcomeFieldName="EditorOutcomeColumn" OverdueEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have an &lt;/span&gt;&lt;span style='font-size:13.5pt;color:#ff3b3b;'&gt;overdue&lt;/span&gt;&lt;span style='font-size:13.5pt'&gt; task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" OverdueEmailSubject="Task OverdueDraft Document Review for Manuscript" OverdueReminderRepeat="1" OverdueRepeatTimes="1" SendReminderEmail="False" Title="Draft Document Review for Manuscript" WaitForTaskCompletion="True">
                          <p1:SingleTask.AssignedTo>
                            <InArgument x:TypeArguments="x:String">
                              <mca:CSharpValue x:TypeArguments="x:String">DocEditorLoginName</mca:CSharpValue>
                            </InArgument>
                          </p1:SingleTask.AssignedTo>
                          <p1:SingleTask.Outcome>
                            <OutArgument x:TypeArguments="x:Int32">
                              <mca:CSharpReference x:TypeArguments="x:Int32">EditorTaskOutcome</mca:CSharpReference>
                            </OutArgument>
                          </p1:SingleTask.Outcome>
                          <p1:SingleTask.RelatedContentLinkListId>
                            <InArgument x:TypeArguments="s:Guid">
                              <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                                <p1:GetCurrentListId />
                              </p:ExpressionContainerValue>
                            </InArgument>
                          </p1:SingleTask.RelatedContentLinkListId>
                          <p1:SingleTask.RelatedContentLinkListItemId>
                            <InArgument x:TypeArguments="s:Guid">
                              <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                                <p1:GetCurrentItemGuid />
                              </p:ExpressionContainerValue>
                            </InArgument>
                          </p1:SingleTask.RelatedContentLinkListItemId>
                          <p1:SingleTask.RelatedContentLinkListItemIntegerId>
                            <InArgument x:TypeArguments="x:Int32">
                              <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                                <p1:GetCurrentItemId />
                              </p:ExpressionContainerValue>
                            </InArgument>
                          </p1:SingleTask.RelatedContentLinkListItemIntegerId>
                        </p1:SingleTask>
                      </Sequence>
                      <FlowStep.Next>
                        <FlowStep x:Name="__ReferenceID4" sap2010:WorkflowViewState.IdRef="FlowStep_4">
                          <Assign sap2010:WorkflowViewState.IdRef="Assign_1">
                            <Assign.To>
                              <OutArgument x:TypeArguments="x:Boolean">
                                <mca:CSharpReference x:TypeArguments="x:Boolean">DraftDocumentApproved</mca:CSharpReference>
                              </OutArgument>
                            </Assign.To>
                            <Assign.Value>
                              <InArgument x:TypeArguments="x:Boolean">
                                <mca:CSharpValue x:TypeArguments="x:Boolean">EditorTaskOutcome==0</mca:CSharpValue>
                              </InArgument>
                            </Assign.Value>
                          </Assign>
                          <FlowStep.Next>
                            <FlowStep x:Name="__ReferenceID6" sap2010:WorkflowViewState.IdRef="FlowStep_6">
                              <Sequence sap2010:Annotation.AnnotationText="User-friendly updates" DisplayName="Update Status" sap2010:WorkflowViewState.IdRef="Sequence_11">
                                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_11" Text="Document review process complete" />
                                <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_10" Message="Draft document review process completed" />
                              </Sequence>
                            </FlowStep>
                          </FlowStep.Next>
                        </FlowStep>
                      </FlowStep.Next>
                    </FlowStep>
                  </FlowDecision.True>
                  <FlowDecision.False>
                    <FlowStep x:Name="__ReferenceID3" sap2010:WorkflowViewState.IdRef="FlowStep_2">
                      <Sequence sap2010:Annotation.AnnotationText="Author has more work to do to the document." DisplayName="Author Re-Edit" sap2010:WorkflowViewState.IdRef="Sequence_7">
                        <Sequence.Variables>
                          <Variable x:TypeArguments="x:Int32" Name="AuthorTaskOutcome" />
                        </Sequence.Variables>
                        <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_7" Text="Entering author addressing reviewers feedback" />
                        <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_5" Message="Document rejected by editor, sending back to author and assinging task to address feedback. Waiting for task decision..." />
                        <p1:SingleTask DueDate="{x:Null}" TaskId="{x:Null}" TaskItemId="{x:Null}" AssignmentEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have a new task. The document you submitted was rejected by the reviewer for the manuscript. You need to address the reviewers feedback and optionally resubmit the draft for review.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" AssignmentEmailSubject="Task Assigned: Draft Document Declined By Reviewer" Body="The document you submitted was rejected by the reviewer for the manuscript. You need to address the reviewers feedback and optionally resubmit the draft for review." CancelationEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;One of your tasks was canceled and deleted. You do not need to take any further action on that task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" CancelationEmailSubject="Task Canceled: Draft Document Declined By Reviewer" CompletedStatus="Completed" ContentTypeId="0x010800F1D6D2B1CF1D40EDAF5536011F44732B" DefaultTaskOutcome="0" sap2010:WorkflowViewState.IdRef="SingleTask_3" OutcomeFieldName="AuthorOutcomeColumn" OverdueEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have an &lt;/span&gt;&lt;span style='font-size:13.5pt;color:#ff3b3b;'&gt;overdue&lt;/span&gt;&lt;span style='font-size:13.5pt'&gt; task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" OverdueEmailSubject="Task Overdue: Draft Document Declined By Reviewer" OverdueReminderRepeat="1" OverdueRepeatTimes="1" SendReminderEmail="False" Title="Draft Document Declined By Reviewer" WaitForTaskCompletion="True">
                          <p1:SingleTask.AssignedTo>
                            <InArgument x:TypeArguments="x:String">
                              <mca:CSharpValue x:TypeArguments="x:String">DocAuthorId.ToString()</mca:CSharpValue>
                            </InArgument>
                          </p1:SingleTask.AssignedTo>
                          <p1:SingleTask.Outcome>
                            <OutArgument x:TypeArguments="x:Int32">
                              <mca:CSharpReference x:TypeArguments="x:Int32">AuthorTaskOutcome</mca:CSharpReference>
                            </OutArgument>
                          </p1:SingleTask.Outcome>
                          <p1:SingleTask.RelatedContentLinkListId>
                            <InArgument x:TypeArguments="s:Guid">
                              <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                                <p1:GetCurrentListId />
                              </p:ExpressionContainerValue>
                            </InArgument>
                          </p1:SingleTask.RelatedContentLinkListId>
                          <p1:SingleTask.RelatedContentLinkListItemId>
                            <InArgument x:TypeArguments="s:Guid">
                              <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                                <p1:GetCurrentItemGuid />
                              </p:ExpressionContainerValue>
                            </InArgument>
                          </p1:SingleTask.RelatedContentLinkListItemId>
                          <p1:SingleTask.RelatedContentLinkListItemIntegerId>
                            <InArgument x:TypeArguments="x:Int32">
                              <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                                <p1:GetCurrentItemId />
                              </p:ExpressionContainerValue>
                            </InArgument>
                          </p1:SingleTask.RelatedContentLinkListItemIntegerId>
                        </p1:SingleTask>
                      </Sequence>
                      <FlowStep.Next>
                        <x:Reference>__ReferenceID0</x:Reference>
                      </FlowStep.Next>
                    </FlowStep>
                  </FlowDecision.False>
                </FlowDecision>
              </FlowStep.Next>
            </FlowStep>
          </FlowStep.Next>
        </FlowStep>
      </Flowchart.StartNode>
      <x:Reference>__ReferenceID0</x:Reference>
      <x:Reference>__ReferenceID1</x:Reference>
      <x:Reference>__ReferenceID2</x:Reference>
      <x:Reference>__ReferenceID3</x:Reference>
      <x:Reference>__ReferenceID4</x:Reference>
      <x:Reference>__ReferenceID5</x:Reference>
      <x:Reference>__ReferenceID6</x:Reference>
    </Flowchart>
    <If sap2010:Annotation.AnnotationText="If the document was approved, publish it. Otherwise do nothing." DisplayName="Publish Draft if Approved, else end Review" sap2010:WorkflowViewState.IdRef="If_1">
      <If.Condition>
        <InArgument x:TypeArguments="x:Boolean">
          <mca:CSharpValue x:TypeArguments="x:Boolean">DraftDocumentApproved</mca:CSharpValue>
        </InArgument>
      </If.Condition>
      <If.Then>
        <Sequence DisplayName="Publish Draft" sap2010:WorkflowViewState.IdRef="Sequence_8">
          <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_8" Text="Entering publication of draft document" />
          <p:SetUserStatus Description="Publishing Draft Document" sap2010:WorkflowViewState.IdRef="SetUserStatus_5" />
          <p1:CopyItem ItemGuid="{x:Null}" sap2010:Annotation.AnnotationText="Copy the draft document ot the Manuscripts library." sap2010:WorkflowViewState.IdRef="CopyItem_1" Overwrite="True">
            <p1:CopyItem.ItemId>
              <InArgument x:TypeArguments="x:Int32">
                <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                  <p1:GetCurrentItemId />
                </p:ExpressionContainerValue>
              </InArgument>
            </p1:CopyItem.ItemId>
            <p1:CopyItem.ListId>
              <InArgument x:TypeArguments="s:Guid">
                <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                  <p1:GetCurrentListId />
                </p:ExpressionContainerValue>
              </InArgument>
            </p1:CopyItem.ListId>
            <p1:CopyItem.ToListId>
              <InArgument x:TypeArguments="s:Guid">
                <mca:CSharpValue x:TypeArguments="s:Guid">System.Guid.Parse("{$ListId:Lists/Manuscripts;}")</mca:CSharpValue>
              </InArgument>
            </p1:CopyItem.ToListId>
          </p1:CopyItem>
          <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_6" Message="Draft document copied to Manuscripts library" />
        </Sequence>
      </If.Then>
      <If.Else>
        <Sequence DisplayName="End Review" sap2010:WorkflowViewState.IdRef="Sequence_9">
          <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_9" Text="Draft document rejected, terminating" />
          <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_7" Message="Draft document not approved by editor for the manuscript" />
        </Sequence>
      </If.Else>
    </If>
    <p:SetUserStatus Description="Workflow Complete" sap2010:WorkflowViewState.IdRef="SetUserStatus_7" />
    <sads:DebugSymbol.Symbol>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</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="SetUserStatus_8" sap:VirtualizedContainerService.HintSize="464,22" />
      <sap2010:ViewStateData Id="WriteLine_1" sap:VirtualizedContainerService.HintSize="233,62" />
      <sap2010:ViewStateData Id="WriteToHistory_2" sap:VirtualizedContainerService.HintSize="233,68" />
      <sap2010:ViewStateData Id="SetUserStatus_1" sap:VirtualizedContainerService.HintSize="233,22" />
      <sap2010:ViewStateData Id="WriteToHistory_1" sap:VirtualizedContainerService.HintSize="233,68" />
      <sap2010:ViewStateData Id="LookupSPListItem_1" sap:VirtualizedContainerService.HintSize="247,89">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
            </scg:Dictionary>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="GetODataProperties_1" sap:VirtualizedContainerService.HintSize="247,92">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:String x:Key="Properties.SelectedEntityType">Lists/Drafts</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_2" sap:VirtualizedContainerService.HintSize="247,62" />
      <sap2010:ViewStateData Id="Sequence_3" sap:VirtualizedContainerService.HintSize="233,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_3" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteLine_4" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_8" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="Sequence_4" sap:VirtualizedContainerService.HintSize="233,396">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_2" sap:VirtualizedContainerService.HintSize="464,89">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_10" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="SetUserStatus_6" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="WriteToHistory_9" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="Sequence_10" sap:VirtualizedContainerService.HintSize="200,74">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_5" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_3" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="SingleTask_1" sap:VirtualizedContainerService.HintSize="211,89" />
      <sap2010:ViewStateData Id="Sequence_5" sap:VirtualizedContainerService.HintSize="200,134">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_6" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_4" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="SingleTask_2" sap:VirtualizedContainerService.HintSize="211,89" />
      <sap2010:ViewStateData Id="Sequence_6" sap:VirtualizedContainerService.HintSize="233,476">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_1" sap:VirtualizedContainerService.HintSize="242,62">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_11" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_10" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="Sequence_11" sap:VirtualizedContainerService.HintSize="200,74">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_6">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">80,864.5</av:Point>
            <av:Size x:Key="ShapeSize">200,74</av:Size>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_4">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">59,749</av:Point>
            <av:Size x:Key="ShapeSize">242,62</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">180,811 180,864.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_1">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">80,594.5</av:Point>
            <av:Size x:Key="ShapeSize">200,104</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">180,698.5 180,749</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_7" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_5" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="SingleTask_3" sap:VirtualizedContainerService.HintSize="211,89" />
      <sap2010:ViewStateData Id="Sequence_7" sap:VirtualizedContainerService.HintSize="200,89">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_2">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">450,594.5</av:Point>
            <av:Size x:Key="ShapeSize">200,89</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">550,683.5 550,713.5 680,713.5 680,301.5 470,301.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowDecision_1" sap:VirtualizedContainerService.HintSize="85,87">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <av:Point x:Key="ShapeLocation">325,446.5</av:Point>
            <av:Size x:Key="ShapeSize">85,87</av:Size>
            <x:String x:Key="TrueLabel">Yes</x:String>
            <x:String x:Key="FalseLabel">No</x:String>
            <av:PointCollection x:Key="FalseConnector">410,490 550,490 550,594.5</av:PointCollection>
            <av:PointCollection x:Key="TrueConnector">325,490 180,490 180,594.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_3">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">270,234.5</av:Point>
            <av:Size x:Key="ShapeSize">200,134</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">370,368.5 370,398.5 367.5,398.5 367.5,446.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_5">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">270,117.5</av:Point>
            <av:Size x:Key="ShapeSize">200,74</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">370,191.5 370,234.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Flowchart_1" sap:VirtualizedContainerService.HintSize="726,1011">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
            <av:Point x:Key="ShapeLocation">340,2.5</av:Point>
            <av:Size x:Key="ShapeSize">60,75</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">370,77.5 370,117.5</av:PointCollection>
            <x:Double x:Key="Width">712</x:Double>
            <x:Double x:Key="Height">952.04</x:Double>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_8" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="SetUserStatus_5" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="CopyItem_1" sap:VirtualizedContainerService.HintSize="211,106">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ToListId" DisplayName="Manuscripts" Value="Lists/Manuscripts" />
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
            </scg:Dictionary>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_6" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="Sequence_8" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_9" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_7" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="Sequence_9" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_1" sap:VirtualizedContainerService.HintSize="464,233">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="SetUserStatus_7" sap:VirtualizedContainerService.HintSize="464,22" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="486,769">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="ApprovalWorkflowApp.Manuscript_Approval_Workflow.Workflow_1" sap:VirtualizedContainerService.HintSize="526,849" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>